package v1

import (
	"github.com/gogf/gf/v2/frame/g"
)

type UserLoginReq struct {
	g.Meta   `path:"/user/login" method:"post" sm:"登录" tags:"用户"`
	Username string `json:"username" v:"required|length:3,12"`
	Password string `json:"password" v:"required|length:6,16"`
	Client   string `json:"client"`
}
type UserLoginRes struct {
	Token string `json:"token" dc:"返回 token"`
}
